<% 
	/*********************************************************************
	* @author :weicb
	* @createTime: 2016-04-27
	* Remark: 角色详情
	*  
    *          
	* Modify: 	
	*********************************************************************/
%>
<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

<head>
 <!-- 这里引入导航信息header.tpl -->
 <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>角色信息查看</title>
</head>  
<body class="sub-page">
    <!-- 资金头寸调整复核模态窗 -->
<div class="modal-content">
    <div class="modal-header">
        <h4 class="modal-title">角色信息查看</h4>
    </div>
    <div class="modal-body">
        <div class="table-responsive">
            <table class="table table-bordered">
            <colgroup>
                    <col width="25%">
                    <col width="25%">
                    <col width="25%">
                    <col width="25%">
             </colgroup>
             <!--开始展示业务数据-->
             <tbody>
					<tr>
						<td>角色名称</td>
					  	<td class="white-bg"><span>${role.roleName}</span></td>
						<td>角色类型</td>
						<td class="white-bg">${role.roleTypeName}</td>
					</tr>
					<tr>
						<td>
							是否为部门资源默认角色
							<a tabindex="0" role="button" data-toggle="popover" data-trigger="hover" data-container="body" data-content="若为是，关联部门下资源默认赋权至当前数据角色" data-placement="right" class="fa fa-exclamation-circle fa-lg text-info"></a>
						</td>
					  	<td  class="white-bg">
					  		<span>
					  			<c:if test="${role.isDempt eq 'Y'}">是</c:if>
					  			<c:if test="${role.isDempt eq 'N'}">否</c:if>
					  		</span>
					  	</td>
					  	<td>
							是否为部门人员默认角色
							<a tabindex="0" role="button" data-toggle="popover" data-trigger="hover" data-container="body" data-content="若为是， 关联部门下新入司员工默认添加至当前数据角色" data-placement="right" class="fa fa-exclamation-circle fa-lg text-info"></a>
						</td>
					  	<td  class="white-bg">
					  		<span>
					  			<c:if test="${role.isDemptPer eq 'Y'}">是</c:if>
					  			<c:if test="${role.isDemptPer eq 'N'}">否</c:if>
					  		</span>
					  	</td>
					</tr>
					
					<tr>
						<td>关联部门</td>
						<td class="white-bg" colspan="3">
							<span>${role.orgName}</span>
					    </td>
					</tr>
					
					<tr>
						<td>所属岗位</td>
					  	<td class="white-bg"><span>${role.postTitle}</span></td>
						<td>关联操作角色</td>
						<td class="white-bg">${role.operRoleName}</td>
					</tr>
					<tr>
						<td>员工姓名</td>
						<td class="white-bg" colspan="3">	
							<c:if test="${!empty empNames}">
									<div  style="line-height: 30px">
								     <c:forEach items="${empNames}" var="vcl">
								     	<c:if test="${!empty vcl}">
											<span class="text-wrapper">${vcl}</span>
										</c:if>
									 </c:forEach> 
									 </div>
							</c:if>
					    </td>
					</tr>
					<tr>
						<td >权限类型</td>
						<td class="white-bg" colspan="3"> 
							<span >
							  <c:if test="${role.authorityType=='1'}">
                                 <span>普通</span>
                              </c:if>
                              <c:if test="${role.authorityType=='2'}">
                                 <span>特殊</span>
                              </c:if>
							</span>
						</td>
					</tr>
					<tr>
						<td>分享权限列表</td>
						<td colspan="3" class="white-bg">
							<c:forEach var="shareItem" items="${roleShareInfo}">
								<div>${shareItem.roleName}</div>
							</c:forEach>
						</td>
					</tr>
				</tbody>
			</table>
	<!-- 整体TABLE 结束-->
	</div>
	</div>
</div>
</body>
</html>